package com.example.project.framework;

import java.util.ArrayList;
import java.util.List;

public class SpringDispather {

    public static List<String> requestList = new ArrayList<>();
    public static List<String> dataList = new ArrayList<>();

    static {
        dataList.add("/images/**");
        dataList.add("/**/*.js");
        dataList.add("/**/*.html");
        dataList.add("/**/*.css");
        dataList.add("/**/images/**");
        dataList.add("/zju/**");
    }

    public static boolean isDispather(String requestUrl){
        for (String url:requestList) {
            if (requestUrl.equals(url))
                return true;
        }
        return false;
    }
}
